package com.zou.mapper;

import com.zou.pojo.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysUserMapper {
    List<SysUser> selectSomeSysUserBySysUser(SysUser sysUser);

    SysUser selectSysUserByNameAndPwd(Map<String, Object> map);

    Integer insertSysUser(SysUser sysUser);

    Integer deleteSysUserById(Integer id);

    Integer updateSysUser(SysUser sysUser);

    Integer updateSysUserStateById(Map<String, Object> map);
}
